﻿<%@ Page Title="Confirm Ad| @tbd.co.in" Language="C#" MasterPageFile="~/TBDHome.Master" Theme="HomeTheme" AutoEventWireup="true" CodeBehind="ConfirmAd.aspx.cs" Inherits="OPMS_V1.Public.ConfirmAd" %>
<%@ PreviousPageType  VirtualPath="~/Public/Build.aspx"%>

<%@ Register assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" tagprefix="cc1" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    
    <asp:Label ID="lblOR" runat="server" Font-Bold="True" Font-Size="14pt" 
        ForeColor="IndianRed" 
        style="z-index: 1; left: 370px; top: 392px; position: absolute" Text="OR"></asp:Label>
    
    <asp:Panel ID="pnlLogin" runat="server" 
        style="z-index: 1; left: 33px; top: 274px; position: absolute; height: 241px; width: 289px" 
        BackColor="#E4E4E4" BorderColor="#CECECE">
        <asp:Label ID="lblSigninMessage" runat="server" 
    style="z-index: 1; left: 77px; top: 10px; position: absolute" Text="TBD Members" 
            Font-Bold="True" Font-Names="Times New Roman"></asp:Label>
        <asp:Label ID="lblAccountName" runat="server" Font-Bold="True" Font-Size="10.5pt" 
            style="z-index: 1; left: 10px; top: 63px; position: absolute" 
            Text="Account Login: "></asp:Label>
        <asp:TextBox ID="txtAccountName" runat="server" Font-Bold="True" 
            Font-Size="10pt" 
            
            style="z-index: 1; left: 10px; top: 84px; position: absolute; width: 194px" 
            TabIndex="1"></asp:TextBox>
        <asp:Label ID="lblPasswordMessage" runat="server" Font-Bold="True" 
            Font-Size="10.5pt" style="z-index: 1; left: 10px; top: 125px; position: absolute" 
            Text="Password: "></asp:Label>
        <asp:TextBox ID="txtPassword" runat="server" Font-Bold="True" Font-Size="10pt" 
            
            
            style="z-index: 1; left: 10px; top: 147px; position: absolute; width: 192px;" 
            TabIndex="2" TextMode="Password"></asp:TextBox>
        <asp:LinkButton ID="lnkForgot" runat="server" Font-Size="10pt" 
            ForeColor="Black" 
            style="z-index: 1; left: 10px; top: 171px; position: absolute" 
            TabIndex="3" onclick="lnkForgot_Click">Forgot Account Name/ Password?</asp:LinkButton>
        <asp:Button ID="btnLogin" runat="server" Font-Bold="True" 
            style="z-index: 2; left: 10px; top: 201px; position: absolute; width: 58px; height: 28px;" 
            Text="Login" TabIndex="4" onclick="btnLogin_Click" 
            ForeColor="White" CssClass="buttonStyling" />
        <asp:RegularExpressionValidator ID="regexLoginName" runat="server" 
            ErrorMessage="Only letters(a-zA-Z), numbers(0-9),(_.$) are allowed." 
            Font-Size="10pt" style="z-index: 1; left: 10px; top: 110px; position: absolute" 
            ValidationExpression="^[a-zA-Z0-9_@/.]*$" 
            ControlToValidate="txtAccountName"></asp:RegularExpressionValidator>
        
        <asp:Label ID="lblLoginError" runat="server" Font-Bold="True" Font-Size="10pt" 
            ForeColor="Red" style="z-index: 1; left: 10px; top: 30px; position: absolute" 
            Text="Your login attempt was not successful. Please try again."></asp:Label>
    </asp:Panel>
    <asp:Panel ID="pnlRegisterTBD" runat="server" BackColor="#CECECE" 
            BorderColor="Black" 
            
        style="z-index: 1; left: 444px; top: 275px; position: absolute; height: 238px; width: 303px">
            <asp:Label ID="lblRegister" runat="server" Font-Bold="True" 
                style="z-index: 1; left: 91px; top: 8px; position: absolute" 
                Text="Register Now"></asp:Label>
            <asp:Label ID="lblNotUser" runat="server" Font-Bold="True" Font-Size="15pt" 
                ForeColor="IndianRed" 
                style="z-index: 1; left: 36px; top: 39px; position: absolute" 
                Text="Not a registered user yet?"></asp:Label>
            <asp:Label ID="Label11" runat="server" 
                style="z-index: 1; left: 36px; top: 70px; position: absolute; width: 222px; height: 40px" 
                Text="Register now to manage your Ads.. Update your details."></asp:Label>
            <asp:LinkButton ID="lnkRegisterNow" runat="server" Font-Size="14pt" 
                Font-Underline="False" ForeColor="IndianRed" onclick="lnkRegisterNow_Click" 
                style="z-index: 1; left: 92px; top: 140px; position: absolute">Register Now</asp:LinkButton>
        </asp:Panel>
    
                <asp:Button ID="btnConfirm" runat="server" CssClass="buttonStyling" 
                    Font-Bold="True" onclick="btnConfirm_Click" 
                    style="z-index: 2; left: 933px; top: 978px; position: absolute; right: 60px;" 
                    TabIndex="18" Text="Confirm Ad" />
    <asp:Panel ID="pnlRegistration" runat="server" 
        style="z-index: 1; left: 15px; top: 272px; position: absolute; height: 977px; width: 1071px">
        <asp:Label ID="lblRequired" runat="server" Font-Bold="True" Font-Size="10pt" 
                    ForeColor="Red" style="z-index: 1; left: 20px; top: 30px; position: absolute" 
                    Text="Please enter all the required details."></asp:Label>
        <asp:Label ID="lblRegistrationDetails" runat="server" 
    style="z-index: 3; left: 10px; top: 2px; position: absolute" 
            Text="Registration Details" Font-Bold="True" Font-Size="14pt" 
            ForeColor="IndianRed"></asp:Label>
        
        <asp:Panel ID="pnlLoginDetails" runat="server" 
            
            
            style="z-index: 1; left: 0px; top: 50px; position: absolute; height: 159px; width: 1071px">
            <asp:Panel ID="pnlRegister" runat="server" BackColor="#CECECE" 
                BorderColor="Black" 

                style="z-index: 1; left: 20px; top: 25px; position: absolute; height: 133px; width: 1046px">
                <asp:Label ID="lblRegConfirmPassword" runat="server" Font-Bold="True" 
                    Font-Size="10.5pt" 
                    style="z-index: 1; left: 11px; top: 110px; position: absolute" 
                    Text="Confirm Password: *"></asp:Label>
                <asp:Label ID="lblRegPassword" runat="server" Font-Bold="True" 
                    Font-Size="10.5pt" 
                    style="z-index: 1; left: 11px; top: 75px; position: absolute" 
                    Text="Password: *"></asp:Label>
                <asp:Label ID="lblRegEmail" runat="server" Font-Bold="True" Font-Size="10.5pt" 
                    style="z-index: 1; left: 11px; top: 43px; position: absolute" 
                    Text="Email: *"></asp:Label>
                <asp:TextBox ID="txtRegAccountName" runat="server" Font-Bold="True" 
                    Font-Size="10pt" 
                    style="z-index: 1; left: 150px; top: 10px; position: absolute; width: 165px; height: 19px;" 
                    TabIndex="1"></asp:TextBox>
                <asp:Label ID="lblRegAccountName" runat="server" Font-Bold="True" 
                    Font-Size="10.5pt" 
                    style="z-index: 1; left: 10px; top: 14px; position: absolute" 
                    Text="Account Login: *"></asp:Label>
                <asp:TextBox ID="txtRegPassword" runat="server" Font-Bold="True" 
                    Font-Size="10pt" 
                    style="z-index: 2; left: 150px; top: 74px; position: absolute; width: 168px;" 
                    TabIndex="3" TextMode="Password"></asp:TextBox>
                <asp:TextBox ID="txtRegConfPassword" runat="server" Font-Bold="True" 
                    Font-Size="10pt" 
                    style="z-index: 2; left: 150px; top: 107px; position: absolute; width: 167px;" 
                    TabIndex="4" TextMode="Password"></asp:TextBox>
                <asp:TextBox ID="txtRegEmail" runat="server" Font-Bold="True" Font-Size="10pt" 
                    style="z-index: 1; left: 150px; top: 42px; position: absolute; width: 167px" 
                    TabIndex="2"></asp:TextBox>
                
                <asp:CompareValidator ID="regecPasswordCompare" runat="server" 
                    ControlToCompare="txtRegPassword" ControlToValidate="txtRegConfPassword" 
                    ErrorMessage="Password do not match" Font-Bold="True" Font-Size="10pt" 
                    style="z-index: 1; left: 330px; top: 113px; position: absolute"></asp:CompareValidator>
                
                <asp:Label ID="lblEmailExists" runat="server" Font-Bold="True" Font-Size="10pt" 
                    ForeColor="Red" style="z-index: 1; left: 330px; top: 50px; position: absolute" 
                    Text="Email Address Exists"></asp:Label>
                
                <asp:RegularExpressionValidator ID="regexEmail" runat="server" 
                    ControlToValidate="txtRegEmail" ErrorMessage="Enter Valid Email" 
                    Font-Size="10pt" style="z-index: 1; left: 330px; top: 47px; position: absolute" 
                    ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"></asp:RegularExpressionValidator>
                
                <asp:RegularExpressionValidator ID="regexAccountName" runat="server" 
                    ControlToValidate="txtRegAccountName" 
                    ErrorMessage="Only letters(a-zA-Z), numbers(0-9),(_.$) are allowed." 
                    Font-Size="10pt" 
                    style="z-index: 1; left: 330px; top: 14px; position: absolute; width: 298px;" 
                    ValidationExpression="^[a-zA-Z0-9_@/.]*$" Font-Bold="True"></asp:RegularExpressionValidator>
                <asp:RequiredFieldValidator ID="regexReqEmail" runat="server" 
                    ControlToValidate="txtRegEmail" ErrorMessage="Enter Email Address" 
                    Font-Size="10pt" 
                    style="z-index: 1; left: 330px; top: 50px; position: absolute"></asp:RequiredFieldValidator>
                
                
                <asp:RequiredFieldValidator ID="regexReqUsername" runat="server" 
                    ControlToValidate="txtRegAccountName" ErrorMessage="Enter UserName" Font-Size="10pt" 
                    style="z-index: 1; left: 330px; top: 10px; position: absolute"></asp:RequiredFieldValidator>
                
                <asp:Label ID="lblUsernameError" runat="server" Font-Bold="True" 
                    Font-Size="10pt" ForeColor="#FF3300" 
                    style="z-index: 1; left: 330px; top: 16px; position: absolute" 
                    Text="Username Exists"></asp:Label>
                <asp:Label ID="lblRegisterError" runat="server" Font-Size="10pt" 
                    ForeColor="#FF3300" 
                    style="z-index: 1; left: 3px; top: 648px; position: absolute" 
                    Text="Unable to register. Please try after some time."></asp:Label>
            </asp:Panel>
            <asp:Label ID="lblLoginDetails" runat="server" 
                style="z-index: 1; left: 20px; top: 0px; position: absolute" 
                Text="Login Details" Font-Bold="True" ForeColor="IndianRed"></asp:Label>
        </asp:Panel>
        <asp:Panel ID="pnlExists" runat="server" 
            
            style="z-index: 1; left: 0px; top: 220px; position: absolute; height: 461px; width: 1071px">
        <asp:Panel ID="pnlContactDetails" runat="server" 
            
                
                style="z-index: 1; left: 23px; top: 171px; position: absolute; height: 83px; width: 1041px">
            <asp:Label ID="lblContactDetails" runat="server" Font-Bold="True" 
                ForeColor="IndianRed" 
                style="z-index: 1; left: 0px; top: 0px; position: absolute; width: 110px;" 
                Text="Contact Details"></asp:Label>
            <asp:Panel ID="pnlPersonal0" runat="server" BackColor="#BDBDBD"              
                style="z-index: 1; left: 0px; top: 20px; position: absolute; height: 59px; width: 1039px">
                <asp:Label ID="Label12" runat="server" Font-Bold="True" 
                    style="z-index: 1; left: 10px; top: 10px; position: absolute" 
                    Text="Phone *"></asp:Label>
                <asp:TextBox ID="txtPhone" runat="server" 

                    style="z-index: 1; left: 150px; top: 10px; position: absolute; width: 168px" 
                    TabIndex="10" ></asp:TextBox>
                <cc1:CalendarExtender ID="txtDOB_CalendarExtender0" runat="server" 
                    Enabled="True" TargetControlID="txtDOB">
                </cc1:CalendarExtender>
            </asp:Panel>
        </asp:Panel>
        
            <asp:Panel ID="pnlPersonalDetails" runat="server" 
                style="z-index: 1; left: 23px; top: 0px; position: absolute; height: 153px; width: 1041px">
                <asp:Label ID="lblPersonalDetails" runat="server" Font-Bold="True" 
                    ForeColor="IndianRed" 
                    style="z-index: 1; left: 0px; top: 0px; position: absolute" 
                    Text="Personal Details"></asp:Label>
                <asp:Panel ID="pnlPersonal" runat="server" BackColor="#BDBDBD" 
                    style="z-index: 1; left: 0px; top: 20px; position: absolute; height: 131px; width: 1039px">
                    <asp:Label ID="Label1" runat="server" Font-Bold="True" 
                        style="z-index: 1; left: 10px; top: 10px; position: absolute" 
                        Text="First Name *"></asp:Label>
                    <asp:Label ID="Label2" runat="server" Font-Bold="True" 
                        style="z-index: 1; left: 10px; top: 41px; position: absolute" 
                        Text="Last Name *"></asp:Label>
                    <asp:Label ID="Label3" runat="server" Font-Bold="True" 
                        style="z-index: 1; left: 10px; top: 68px; position: absolute" Text="Sex: *"></asp:Label>
                    <asp:RadioButton ID="rdbMale" runat="server" Checked="true" Font-Bold="True" 
                        GroupName="Sex" 
                        style="z-index: 1; left: 150px; top: 67px; position: absolute; height: 21px;" 
                        Text="Male" TabIndex="7" />
                    <asp:RadioButton ID="rdbFemale" runat="server" Font-Bold="True" GroupName="Sex" 
                        style="z-index: 1; left: 221px; top: 68px; position: absolute" 
                        Text="Female" TabIndex="8" />
                    <asp:Label ID="Label4" runat="server" Font-Bold="True" 
                        style="z-index: 1; left: 10px; top: 93px; position: absolute" 
                        Text="Date of Birth: *"></asp:Label>
                    <asp:TextBox ID="txtFirstName" runat="server" 
                        
                        style="z-index: 1; left: 150px; top: 10px; position: absolute; width: 168px" 
                        TabIndex="5"></asp:TextBox>
                    <asp:TextBox ID="txtLastName" runat="server" 
                        
                        style="z-index: 1; left: 150px; top: 40px; position: absolute; width: 167px" 
                        TabIndex="6"></asp:TextBox>
                    <asp:TextBox ID="txtDOB" runat="server" 
                        
                        style="z-index: 1; left: 150px; top: 90px; position: absolute; width: 168px" 
                        TabIndex="9"></asp:TextBox>
                    <asp:RegularExpressionValidator ID="regexLastName" runat="server" 
                        ControlToValidate="txtLastName" ErrorMessage="Please enter valid last name" 
                        Font-Bold="True" Font-Size="10pt" 
                        style="z-index: 1; left: 330px; top: 44px; position: absolute" 
                        ValidationExpression="^[a-zA-Z]*$"></asp:RegularExpressionValidator>
                    <asp:RegularExpressionValidator ID="regexFirstName" runat="server" 
                        ControlToValidate="txtFirstName" ErrorMessage="Please enter valid First name" 
                        Font-Bold="True" Font-Size="10pt" 
                        style="z-index: 1; left: 330px; top: 16px; position: absolute" 
                        ValidationExpression="^[a-zA-Z]*$"></asp:RegularExpressionValidator>
                    <cc1:CalendarExtender ID="txtDOB_CalendarExtender" runat="server" 
                        Enabled="True" TargetControlID="txtDOB">
                    </cc1:CalendarExtender>
                </asp:Panel>
            </asp:Panel>
        
            <asp:RegularExpressionValidator ID="regexPhone" runat="server" 
                ControlToValidate="txtPhone" ErrorMessage="Phone Number must be in: 0493 - 3227341 or 0493 3227341 or 493 3227341" 
                Font-Bold="True" Font-Size="10pt" 
                style="z-index: 1; left: 350px; top: 205px; position: absolute" 
                
                ValidationExpression="^0{0,1}[1-9]{1}[0-9]{2}[\s]{0,1}[\-]{0,1}[\s]{0,1}[1-9]{1}[0-9]{6}$"></asp:RegularExpressionValidator>
            
        
            <asp:Panel ID="pnlAddress" runat="server" 
                
                
                
                style="z-index: 1; left: 24px; top: 266px; position: absolute; height: 179px; width: 1038px">
                <asp:Label ID="Label13" runat="server" Font-Bold="True" ForeColor="#BC6262" 
                    style="z-index: 1; left: 0px; top: 0px; position: absolute" 
                    Text="Address Details"></asp:Label>
                <asp:Panel ID="pnlAddressDetails" runat="server" BackColor="#AFAFAF" 
                    
                    
                    style="z-index: 1; left: 0px; top: 20px; position: absolute; height: 162px; width: 1038px">
                    <asp:Label ID="Label6" runat="server" Font-Bold="True" 
                    style="z-index: 2; left: 10px; top: 22px; position: absolute" 
                    Text="Street Num. *"></asp:Label>
                <asp:Label ID="Label7" runat="server" Font-Bold="True" 
                    style="z-index: 1; left: 10px; top: 51px; position: absolute" 
                    Text="Street Name *"></asp:Label>
                <asp:Label ID="Label8" runat="server" Font-Bold="True" 
                    style="z-index: 2; left: 10px; top: 82px; position: absolute" 
                    Text="PostCode *"></asp:Label>
                <asp:Label ID="Label10" runat="server" Font-Bold="True" 
                    style="z-index: 1; left: 10px; top: 139px; position: absolute" 
                    Text="State: *"></asp:Label>
                <asp:Label ID="Label9" runat="server" Font-Bold="True" 
                    style="z-index: 2; left: 10px; top: 108px; position: absolute" 
                    Text="Area: *"></asp:Label>
                <asp:TextBox ID="txtStreetNum" runat="server" 
                    
                    
                    
                    style="z-index: 2; left: 150px; top: 20px; position: absolute; width: 168px" 
                        TabIndex="11"></asp:TextBox>
                <asp:TextBox ID="txtStreetName" runat="server" 
                    
                    
                    
                    style="z-index: 2; left: 150px; top: 50px; position: absolute; width: 167px" 
                        TabIndex="12"></asp:TextBox>
                <asp:TextBox ID="txtArea" runat="server" 
                    style="z-index: 2; left: 150px; top: 108px; position: absolute; width: 168px" 
                        TabIndex="14"></asp:TextBox>
                <asp:DropDownList ID="ddlState" runat="server" 
                    style="z-index: 2; left: 150px; top: 135px; position: absolute; width: 173px" 
                        TabIndex="15">
                    <asp:ListItem>Jammu Kashmir</asp:ListItem>
                    <asp:ListItem>Haryana</asp:ListItem>
                    <asp:ListItem>Himachal Pradesh</asp:ListItem>
                    <asp:ListItem>Delhi</asp:ListItem>
                    <asp:ListItem>Uttar Pradesh</asp:ListItem>
                    <asp:ListItem>Bihar</asp:ListItem>
                    <asp:ListItem>Jharkhand</asp:ListItem>
                    
                </asp:DropDownList>
                <asp:TextBox ID="txtPostCode" runat="server" 
                    style="z-index: 2; left: 150px; top: 80px; position: absolute; width: 167px" 
                        TabIndex="13"></asp:TextBox>
                <asp:RegularExpressionValidator ID="regexArea" runat="server" 
                ControlToValidate="txtArea" ErrorMessage="Please enter valid Area" 
                Font-Bold="True" Font-Size="10pt" 
                style="z-index: 1; left: 350px; top: 112px; position: absolute" 
                ValidationExpression="^[a-zA-Z0-9\s,-.]*$"></asp:RegularExpressionValidator>
            <asp:RegularExpressionValidator ID="regexPostCode" runat="server" 
                ControlToValidate="txtPostCode" ErrorMessage="Please enter valid PostCode" 
                Font-Bold="True" Font-Size="10pt" 
                style="z-index: 1; left: 350px; top: 84px; position: absolute" 
                ValidationExpression="^[0-9]{6}"></asp:RegularExpressionValidator>
            <asp:RegularExpressionValidator ID="regexStreetName" runat="server" 
                ControlToValidate="txtStreetName" ErrorMessage="Please enter valid Street name" 
                Font-Bold="True" Font-Size="10pt" 
                style="z-index: 1; left: 350px; top: 55px; position: absolute" 
                ValidationExpression="^[a-zA-Z0-9\s,]*$"></asp:RegularExpressionValidator>
            <asp:RegularExpressionValidator ID="regexStreetNum" runat="server" 
                ControlToValidate="txtStreetNum" ErrorMessage="Please enter valid StreetNum" 
                Font-Bold="True" Font-Size="10pt" 
                style="z-index: 1; left: 350px; top: 24px; position: absolute" 
                ValidationExpression="^[0-9a-zA-Z\s-.]*$"></asp:RegularExpressionValidator>
                </asp:Panel>
            </asp:Panel>
            
        
        </asp:Panel>
        
        <asp:Button ID="btnConfirmLogin" runat="server" 
            style="z-index: 1; left: 919px; top: 704px; position: absolute; width: 104px;" 
            Text="Confirm Ad" CssClass="buttonStyling" 
            OnClick="btnConfirmLogin_Click" TabIndex="17"/>
        
        <asp:CheckBox ID="chkTerms" runat="server" 
            style="z-index: 1; left: 20px; top: 690px; position: absolute" 
            Text="I have read and accepted the Privacy Policy and Conditions of Use." 
            TabIndex="16" />
        
    </asp:Panel>

</asp:Content>
